using System;
using System.Collections;
using System.Collections.Generic;

using Framework.Library.Base;

namespace Framework.Library.Domain
{
    public partial class PortalTab : BusinessBase<int>
    {
        #region Declarations

		
		private int _tabParentID = default(Int32);
		private string _tabName = String.Empty;
		private string _tabTitle = String.Empty;
		private string _tabDescription = String.Empty;
		private string _tabUrl = String.Empty;
		private string _tabLayout = String.Empty;
		private bool _tabVisible = default(Boolean);
		private bool _tabEnable = default(Boolean);
		private int _tabOrder = default(Int32);
		private string _tabLang = String.Empty;
		
		private PortalPortal _portalPortal = null;
		
		private IList<PortalTabcontrol> _portalTabcontrols = new List<PortalTabcontrol>();
		
        #endregion

        #region Constructors

        public PortalTab() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_tabParentID);
			sb.Append(_tabName);
			sb.Append(_tabTitle);
			sb.Append(_tabDescription);
			sb.Append(_tabUrl);
			sb.Append(_tabLayout);
			sb.Append(_tabVisible);
			sb.Append(_tabEnable);
			sb.Append(_tabOrder);
			sb.Append(_tabLang);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual int TabParentID
        {
            get { return _tabParentID; }
			set
			{
				
				_tabParentID = value;
				
			}
        }
		
		public virtual string TabName
        {
            get { return _tabName; }
			set
			{
				
				_tabName = value;
				
			}
        }
		
		public virtual string TabTitle
        {
            get { return _tabTitle; }
			set
			{
				
				_tabTitle = value;
				
			}
        }
		
		public virtual string TabDescription
        {
            get { return _tabDescription; }
			set
			{
				
				_tabDescription = value;
				
			}
        }
		
		public virtual string TabUrl
        {
            get { return _tabUrl; }
			set
			{
				
				_tabUrl = value;
				
			}
        }
		
		public virtual string TabLayout
        {
            get { return _tabLayout; }
			set
			{
				
				_tabLayout = value;
				
			}
        }
		
		public virtual bool TabVisible
        {
            get { return _tabVisible; }
			set
			{
				
				_tabVisible = value;
				
			}
        }
		
		public virtual bool TabEnable
        {
            get { return _tabEnable; }
			set
			{
				
				_tabEnable = value;
				
			}
        }
		
		public virtual int TabOrder
        {
            get { return _tabOrder; }
			set
			{
				
				_tabOrder = value;
				
			}
        }
		
		public virtual string TabLang
        {
            get { return _tabLang; }
			set
			{
				
				_tabLang = value;
				
			}
        }
		
		public virtual PortalPortal PortalPortal
        {
            get { return _portalPortal; }
			set
			{
				
				_portalPortal = value;
				
			}
        }
		
		public virtual IList<PortalTabcontrol> PortalTabcontrols
        {
            get { return _portalTabcontrols; }
            set
			{
				
				_portalTabcontrols = value;
				
			}
        }
		
        #endregion
    }
}
